package com.lennon.eoi.executors.export.execl.style;

import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFCellStyle;

/**
 * 更新execl的风格
 * 
 * @author lennon
 * @time 2017年8月27日上午9:01:01
 *
 */
public abstract class ExeclCellStyle {
    
    protected XSSFCellStyle styleAlignLeft;// 左对齐
    protected XSSFCellStyle styleAlignRight;// 右对齐
    protected XSSFCellStyle styleAlignCenter;// 居中对齐

    public XSSFCellStyle getStyleAlignLeft() {
        return styleAlignLeft;
    }

    public XSSFCellStyle getStyleAlignRight() {
        return styleAlignRight;
    }

    public XSSFCellStyle getStyleAlignCenter() {
        return styleAlignCenter;
    }
    
    /** 创建*/
    public abstract void create(Workbook workbook);
}
